package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author miaoyl
 * @since 2019-04-03
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWBH_T")
public class GwbhT extends PO<GwbhT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWBHENT", type = IdType.INPUT)
    private String GWBHENT;

    private String GWBHNAME;

    private String GWBHID;

    private BigDecimal GWBHSEQ;

    private String GWBH001;

    private String GWBH002;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWBH003;

    private String GWBH004;

    private String GWBH005;

    private String GWBH006;

    private String GWBH007;

    private String GWBH008;

    private String GWBH009;

    private String GWBH010;

    private String GWBH011;

    private String GWBH012;

    private String GWBH013;

    private String GWBH014;

    private String GWBH015;

    private String GWBH016;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWBH017;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWBH018;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime GWBH019;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime GWBH020;

    private String GWBH021;

    private String GWBH022;

    private String GWBH023;

    private String GWBH024;

    private String GWBH025;

    private String GWBH026;

    private String GWBH027;

    private String GWBH028;

    private String GWBH029;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWBH030;

    private String GWBH031;

    private String GWBH032;

    private String GWBH033;

    private String GWBH034;

    private String GWBH035;

    private String GWBH036;

    private String GWBH037;

    private String GWBHPLANT;

    private String GWBHLEGAL;

    private String GWBHACTI;

    @TableField(fill = FieldFill.INSERT)
    private String GWBHUSER;

    @TableField(fill = FieldFill.INSERT)
    private String GWBHGRUP;

    @TableField(fill = FieldFill.UPDATE)
    private String GWBHMODU;

    @TableField(fill = FieldFill.INSERT)
    private String GWBHTIME;

    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWBHDATE;

    @TableField(fill = FieldFill.INSERT)
    private String GWBHORIG;

    @TableField(fill = FieldFill.INSERT)
    private String GWBHORIU;

    private String GWBH038;

    private String GWBH039;

    private String GWBH040;



    @Override
    protected Serializable pkVal() {
        return this.GWBHENT;
    }

}
